# -*- coding: utf-8 -*-
{
    # 模块名称
    'name': "运输管理",

    # 关键词
    'summary': """ RectaParcel Shipment Management """,

    # 模块说明
    'description': """ RectaParcel Shipment Management
    """,

    'version': '1.0',
    'category': 'management',
    'license': 'LGPL-3',
    'author': "霍当家",

    # 本模块的依赖模块
    'depends': ['base', 'mail', 'account', 'basic_configuration',
                'rp_courier_management',
                'rp_customer_management',
                'rp_finance_management'],

    # always loaded
    'data': [
        # 'security/address_data_group.xml',
        # 'security/rule_security.xml',
        'security/ir.model.access.csv',
        'views/inherit/inherit_rp_payment_view.xml',
        'views/setting/rp_available_shipper_mail_route_tran_view.xml',
        'views/setting/rp_available_shipper_value_added_tran_view.xml',
        'views/setting/rp_available_customer_address_tran_view.xml',
        'views/setting/rp_available_shipper_fulfillment_tran_view.xml',
        'views/setting/rp_book_time_view.xml',
        'views/setting/rp_ship_order_action_pay_tran_view.xml',
        'views/primary/rp_parcel_view.xml',  # 包裹
        'views/primary/rp_item_view.xml',  # 物品
        'views/primary/rp_ship_order_line_view.xml',  # 运输订单明细
        'views/primary/rp_ship_order_view.xml',  # 运输订单
        'views/primary/rp_shipment_view.xml',  # 运输单
        'views/primary/rp_book_pickup_view.xml',  # 预约上门取件
        'views/primary/rp_shipment_tracking_view.xml',  # 运输追踪

        'views/menu.xml'  # 菜单

    ],
    'assets': {
        'web.assets_backend': [
            'rp_shipment_management/static/src/js/button.js',
            'rp_shipment_management/static/src/xml/button_template.xml'
        ]
    },

    # 是否可安装
    'installable': True,
    # 是否是应用程序
    'application': True,
}
